<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use \think\facade\Env;
use think\facade\Request;

// +----------------------------------------------------------------------
// | 应用设置
// +----------------------------------------------------------------------

//定位到项目根目录 E:\wh\projects\boom_im
$root_path = str_replace('config','',__DIR__);


list($debug,$trace,$sys_env) = [false,false,'DEV'];

if (!function_exists('is_main_domain')) {
    function is_main_domain($domain, $main_domain)
    {
        $exp_arr = explode('.', $domain);
        $str = $exp_arr[count($exp_arr) - 2] . '.' . $exp_arr[count($exp_arr) - 1];
        return in_array($str, $main_domain);//$str == $main_domain;
    }
}


if (!function_exists('auto_choose_app_conf')) {
    function auto_choose_app_conf(&$debug,&$trace,&$sys_env){
        $domain = Request::host(); //获取当前域名
        /** 【重要】 */
        /**  域名对应的环境必须跟fa_any_sys_env_domain_conf配置一致， */
        /**  否则回调类接口不会生效  */
        if(in_array($domain, ['meebomid.playone.cn'])){
            //正式 - 全域名
            $debug = false;
            $trace = false;
            $sys_env = 'PROD';
        }
        //测试
        else if(in_array($domain, ['vvv.playone.cn'])) {
            $debug = true;
            $trace = false;
            $sys_env = 'DEV';
        }
        else {
            //本地
            $debug = true;
            $trace = false;
            $sys_env = 'LOCAL';
        }
    }
}
auto_choose_app_conf($debug,$trace,$sys_env);

return [
    // 应用名称
    'app_name'               => '',
    // 应用地址
    'app_host'               => '',
    // 应用调试模式
    'app_debug'              => $debug,
    // 应用Trace
    'app_trace'              => $trace,
    // 是否支持多模块
    'app_multi_module'       => true,
    // 入口自动绑定模块
    'auto_bind_module'       => false,
    // 注册的根命名空间
    'root_namespace'         => [],
    // 默认输出类型
    'default_return_type'    => 'html',
    // 默认AJAX 数据返回格式,可选json xml ...
    'default_ajax_return'    => 'json',
    // 默认JSONP格式返回的处理方法
    'default_jsonp_handler'  => 'jsonpReturn',
    // 默认JSONP处理方法
    'var_jsonp_handler'      => 'callback',
    // 默认时区
    'default_timezone'       => 'Asia/Shanghai',
    // 是否开启多语言
    'lang_switch_on'         => false,
    // 默认全局过滤方法 用逗号分隔多个
    'default_filter'         => '',
    // 默认语言
    'default_lang'           => 'zh-cn',
    // 应用类库后缀
    'class_suffix'           => false,
    // 控制器类后缀
    'controller_suffix'      => false,

    // +----------------------------------------------------------------------
    // | 模块设置
    // +----------------------------------------------------------------------

    // 默认模块名
    'default_module'         => 'index',
    // 禁止访问模块
    'deny_module_list'       => ['common'],
    // 默认控制器名
    'default_controller'     => 'Index',
    // 默认操作名
    'default_action'         => 'index',
    // 默认验证器
    'default_validate'       => '',
    // 默认的空模块名
    'empty_module'           => '',
    // 默认的空控制器名
    'empty_controller'       => 'Error',
    // 操作方法前缀
    'use_action_prefix'      => false,
    // 操作方法后缀
    'action_suffix'          => '',
    // 自动搜索控制器
    'controller_auto_search' => false,

    // +----------------------------------------------------------------------
    // | URL设置
    // +----------------------------------------------------------------------

    // PATHINFO变量名 用于兼容模式
    'var_pathinfo'           => 's',
    // 兼容PATH_INFO获取
    'pathinfo_fetch'         => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
    // pathinfo分隔符
    'pathinfo_depr'          => '/',
    // HTTPS代理标识
    'https_agent_name'       => '',
    // IP代理获取标识
    'http_agent_ip'          => 'X-REAL-IP',
    // URL伪静态后缀
    'url_html_suffix'        => 'html',
    // URL普通方式参数 用于自动生成
    'url_common_param'       => false,
    // URL参数方式 0 按名称成对解析 1 按顺序解析
    'url_param_type'         => 0,
    // 是否开启路由延迟解析
    'url_lazy_route'         => false,
    // 是否强制使用路由
    'url_route_must'         => false,
    // 合并路由规则
    'route_rule_merge'       => false,
    // 路由是否完全匹配
    'route_complete_match'   => false,
    // 使用注解路由
    'route_annotation'       => false,
    // 域名根，如thinkphp.cn
    'url_domain_root'        => '',
    // 是否自动转换URL中的控制器和操作名
    'url_convert'            => true,
    // 默认的访问控制器层
    'url_controller_layer'   => 'controller',
    // 表单请求类型伪装变量
    'var_method'             => '_method',
    // 表单ajax伪装变量
    'var_ajax'               => '_ajax',
    // 表单pjax伪装变量
    'var_pjax'               => '_pjax',
    // 是否开启请求缓存 true自动缓存 支持设置请求缓存规则
    'request_cache'          => false,
    // 请求缓存有效期
    'request_cache_expire'   => null,
    // 全局请求缓存排除规则
    'request_cache_except'   => [],
    // 是否开启路由缓存
    'route_check_cache'      => false,
    // 路由缓存的Key自定义设置（闭包），默认为当前URL和请求类型的md5
    'route_check_cache_key'  => '',
    // 路由缓存类型及参数
    'route_cache_option'     => [],

    // 默认跳转页面对应的模板文件
    'dispatch_success_tmpl'  => Env::get('think_path') . 'tpl/dispatch_jump.tpl',
    'dispatch_error_tmpl'    => Env::get('think_path') . 'tpl/dispatch_jump.tpl',

    // 异常页面的模板文件
    'exception_tmpl'         => Env::get('think_path') . 'tpl/think_exception.tpl',

    // 错误显示信息,非调试模式有效
    'error_message'          => '......',
    // 视图输出字符串内容替换,留空则会自动进行计算
    // 显示错误信息
    'show_error_msg'         => false,
    // 异常处理handle类 留空使用 \think\exception\Handle
    'exception_handle'       => '\\app\\common\\exception\\SystemException',

    'pay_config'=>[
        //支付宝支付(网站支付配置)（这里只是充值，转账的独立配置在下方）
        //开放平台文档：https://open.alipay.com/develop/pm/sub/appinfo?appId=2021005117648526
        //支付产品(wap，app等)配置去商户后台配置，应用信息去开放平台配置
        'alipay' => [
            //起源果业 start
            'origin_fruits'=>[

                'seller_id' =>'2088112589340672',//收款支付宝账号对应的支付宝唯一用户号 https://opendocs.alipay.com/support/01raya
                'app_id'     =>'2021003191629298',//资金功能用这个
                'sign_type' => 'RSA2', // RSA  RSA2
                //支付宝应用公钥
                'alipay_app_public_key'=>'aaa+IuYF2j7HD2dUSNztoXwOM4T54tWh+YsVBu0dlc8Q5JFJeik+nLvQiGm8FW+BUbz8UGqk47fRyH2UEOJbH9jDZh/le96rdywBKechzemf785jQfDp8q5d4BNjvBzp3XCY/KOyfBdXIAxEoUC0AnHP6t5W/h0V4icNCmNCPeq6V1UsODmIv3IdONR1dtGm12Z4umyZw2v0ca3zPlsqaG8fAI/oGyHUMc7fEfgPaaFoPrQIgK+baeZAoUCL8EumMLKhz/Ifl0szZ+n5FIm67bZdFADKmxlRp6+933wIDAQAB',
                //支付宝应用私钥
                'alipay_app_private_key'=>'adsss/XFrXbTPVBL0dqsK+NrqbacWcsSGQ+TPt51Ka5v4i5gXaPscPZ1RI3O2hfA4zhPni1aH5ixUG7R2VzxDkkUl6KT6cu9CIabwVb4FRvPxQaqTjt9HIfZQQ4lsf2MNmH+V73qt3LAEp5yHN6Z/vzmNB8Onyrl3gE2O8HOndcJj8o7J8F1cgDEShQLQCcc/q3lb+HRXiJw0KY0I96rpXVSw4OYi/ch041HV20abXZni6bJnDa/RxrfM+Wypobx8Aj+gbIdQxzt8R+A9poWg+tAiAr5tp5kChQIvwS6YwsqHP8h+XSzNn6fkUibrttl0UAMqbGVGnr73ffAgMBAAECggEAfKEUKGzuue9MaRK4KNfx1C+k8pSDGJcwbD2ambeElOAyHTYzLcuf2ePaWCef21HOY9tu/XOENTw92+Z7tqmfMoGQ7NmO6vptZW2yJcyTPutCvUpzW9sUGl9wdxspm+ofBRoKSRKlfOeSJ5laqfxeunAUfAplBPHRAt2hS1L68gHDEhKqz3kCslwM4trCsVjJLwoiiW/d8WbDYav875tyR6TfZL9CwgCiyajDGparPl6VGaUh0pW/+YrJGhALAeiBUH/g8CsczHhZiQzG4ZFiwGXbe/viIC65p8yUMY+35miJPDE7EVP3Cikc0iPuzfGr/UoXeeA0QUKNEyQte/swUQKBgQD5FOUbm2VgKAd4hrMSTxgw27F96O5eivL6x4063DCZUdLjkVxklidknL6xSIcxLv8EeochoMEdtD/aCuHjRvy7z2T54e1TLZkhNZ5i/0G4OpcZ6v8Jm1J/9d/9yTC0/pvD//S6Ra9WSzxJZtuzs7u2MFK3Yd4Ujrv1WOAjQ8Gy6QKBgQDwNkkamZm+uaScq5psp0+OWCzEDdkjeN2oquQUMKaBqxdRQVwolCtepk3ZDSJy2uZsVDuWE9geBuKVsXh1yiy0m4f8bEBfh93jwQPyq2gmOeH5NhOyGQjUAUSI07YMNnyuMMCnbPQ8DipW26YDdbRxX5vNKg9ksRYCobJrgJ/HhwKBgGFUieZMxcNaQPkW4ZiQ8an93xCNWb/12dam7YgHjLIMqDSmk4z2o7QMD/PknHdanuoYGv/H+k5qJd1FDVmrXozhENsYLo2nLsQsWJTkm8CqnGrTSg9t80HvSTS5TmAbcbCYLwAuxMIaqhcgq09AN2SM43WnN4me8NGBhiwhiOopAoGAFU5rW42mQnGK9U6PSvXoK5MMnXMxAGF3H7/QrS3Hhxba4Z0vhHXoBuQvYYI1vQRHjfJGusAV2kv4CxkLuz7sijSFclFTwGV3u/zh0cN8YG+f6I/wXUq1KsDWCGDm89xdYMH4RKF4ZF9JSB0Bc6scDzZQxnjllqPSdPdMsRZelb8CgYEAvTclz+cPF9AzjubGJ4SPbwsEfyWXe1/0CN+mDRlDnK5Gcd3PEvXdVbHwy6tExkosFsFaAywE8jrGcC/09dVFWMPMgQWfc5SpseLio1SPg4hH2h2Qn3vXJOWkBCZsR6BqptYH1g2svMlLjRv4Avk2YuFBgALlnO+QbX/7v8rH8XU=',
                //设置证书保存路径 $root_path连接（资金类接口必须）
                'cert_path_alipayCertPublicKey_RSA2'=>'cert/alipay/origin_fruits/alipayCertPublicKey_RSA2.crt',
                'cert_path_alipayRootCert'=>'cert/alipay/origin_fruits/alipayRootCert.crt',
                'appCertPublicKey'=>'cert/alipay/origin_fruits/appCertPublicKey_2021003191629298.crt',
                //编码格式
                'charset' => "UTF-8",
                //支付宝网关
                'gatewayUrl' => "https://openapi.alipay.com/gateway.do",

                //杉德使用 start
                //prikey.txt key1
                //'mer_key'       =>'6ydMRV6jbU3NA5yz0wGcyP9IgEMSoEjA5wDkRyR1O57K4HW7PkJMeteQvfb6RiDcuXKf6e+2PRg=',
                //'md5key'        =>'XTXjsHjkPDWFJYE3g0CXug++xQtPkDnuVzG2w2TTyde18gtwzfqH963Spx7m/2rOoJ98CB11uWkpeYC0+QL0OUMFNMoW2KryaH71gXpXufOgVfVEP23e1GuCozBbhuoRFLvYZktTk7Nixuz+UKFTiw==',
                //杉德使用 end
            ],
            //起源果业 end

            //地一网络科技 start
            'number_one_net'=>[

                'seller_id' =>'2088741124117213',//收款支付宝账号对应的支付宝唯一用户号 https://opendocs.alipay.com/support/01raya
                'app_id'     =>'2021005117648526',//资金功能用这个
                'sign_type' => 'RSA2', // RSA  RSA2


                //region 这两个是匹配的 start
                //支付宝应用公钥
                'alipay_app_public_key'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApuLIWz9D5mBYX6vdqrXpPaF7tI0Zubsl97BwX1FcGqfppdbP1KFwX94oJtLkaL77FTmRsSxt1J5o9Hl4mR6tXkOX4m7XepqADfUbV4y332azHRyEJ46akjn9IAkQ+nd/ZDoOOAkBfANl7N/Znkv3icmFXdM+pJYDMSGkPB2fLdJML712+8p9qrBNnQp31Do0OxZV93uIXQOTOzkAIQu0w6t6aE6Xsv3uYGyRNPOA5WbUAn4SQ6zpEiwGi1uDB53ZX7eXCwKeO3qZ4XYqO4myXbgWo3lTHrtmxOLTK/6TwpD0KVWR7yGcjJWjVRW+HZ7cWru9aBGhqwOoaONVjqMsrwIDAQAB',
                //支付宝应用私钥
                'alipay_app_private_key'=>'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCm4shbP0PmYFhfq92qtek9oXu0jRm5uyX3sHBfUVwap+ml1s/UoXBf3igm0uRovvsVOZGxLG3Unmj0eXiZHq1eQ5fibtd6moAN9RtXjLffZrMdHIQnjpqSOf0gCRD6d39kOg44CQF8A2Xs39meS/eJyYVd0z6klgMxIaQ8HZ8t0kwvvXb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iF1USMIzIVodNlNHuVDXds5Jd0oObJZPy3trWFRsyo8CQQapp7ZxJ8TVGPYb+GO/dxH932tQpSneomKCDhCfJlWuB0ap2WHxTUIK6gghzpYPX3Kpepm6bmy4Smu+lXQg5cHw6FMECgYEAlyngfGR32qHnQj3dYsjxmp766Iaw6ZmAJujcdk9iswGQbRYWyco46jjzJX4cQCUu04wkCZg0DwNUZzjMxYag5N1bDQkQudyJsKtxt4QMlDYC3yiHtNM9rDoKkotNxHWm418nFZhCOmVV9YXbctHJmbD2VUwlkL/HnnJqaFlVZ34=',
                //endregion 这两个是匹配的 end


                /*【设置证书保存路径 $root_path连接（资金类接口必须）】*/
                //支付宝公钥，从平台获取,或者从证书获取（不是应用公钥）【这个是普通验签方式，当前主体是配置的证书模式】
                //'alipay_public_key'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArJ5V52oS7qxIlSbvxVzxTN69a2KnidtVS9HaIcAlrKakLRg+1tlzfzKtyYWmL+pCeblif0ahc6TFBis35H4xN9g6UWgAYGnlohZ9r3yQkPt5B8nQZBQJrgeOl0K9MtqjiMaewEVO2dIVDVOJIkbElnZdZJL1YJPk5m9PAHAKlimVZEUOeJCg6zQxy7nzeL+GaexKotj32TLqKs6TUmg7cOa9GKuq1+cuQvdLz2E+Wrunc3dE0KHIMflrs9QGFQaObTqzTnSsARgkt8aD5oeLGO0h3Dz2rleon1Cr/M48qNeBzjANA8//GvA7APjS7lFmt8w3VpojvcQAT+k83a8a+QIDAQAB',
                //支付宝公钥证书(就是上面支付宝公钥的文件)
                'cert_path_alipayCertPublicKey_RSA2'=>'cert/alipay/number_one_net/alipayCertPublicKey_RSA2.crt',
                'cert_path_alipayRootCert'=>'cert/alipay/number_one_net/alipayRootCert.crt',
                'appCertPublicKey'=>'cert/alipay/number_one_net/appCertPublicKey_2021005117648526.crt',
                //编码格式
                'charset' => "UTF-8",
                //支付宝网关
                'gatewayUrl' => "https://openapi.alipay.com/gateway.do",

                //杉德使用 start
                //prikey.txt key1
                //'mer_key'       =>'6ydMRV6jbU3NA5yz0wGcyP9IgEMSoEjA5wDkRyR1O57K4HW7PkJMeteQvfb6RiDcuXKf6e+2PRg=',
                //'md5key'        =>'XTXjsHjkPDWFJYE3g0CXug++xQtPkDnuVzG2w2TTyde18gtwzfqH963Spx7m/2rOoJ98CB11uWkpeYC0+QL0OUMFNMoW2KryaH71gXpXufOgVfVEP23e1GuCozBbhuoRFLvYZktTk7Nixuz+UKFTiw==',
                //杉德使用 end
            ],
            //地一网络科技 end

            //地一网络科技小程序 start
            'number_one_net_minipro'=>[

                'seller_id' =>'2088741124117213',//收款支付宝账号对应的支付宝唯一用户号 https://opendocs.alipay.com/support/01raya
                'app_id'     =>'2021005123654458',//资金功能用这个
                'sign_type' => 'RSA2', // RSA  RSA2
                //支付宝应用公钥
                'alipay_app_public_key'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA07LoCuJuZxVpmDCqUAC9K7qsbirv37Coej5Ajzqy6JM1lJZwkquBU4svNOSVRK3X/fa1XhtqDCWvbErSETgNP87i+q5B7KkVdijYLW14T3g7GiImricemioNhwEEeslByZkM+13020g01uNldMR8eUHEAZTGtxre/g813wuLp8oagBBAx5t68zpxrHj1799wSg+F1TT2NX0Gz4L2oD5FT/EGrOdHZHf3ApTcZm7NMFcUziRZHgeg6OS1QfiIuVaqiYkiVAhAS5K9eql3uWco1bqS+qW+xE2Iy5EYW+b9RoN7CM/CKU3T8E89palo+YgoCWSEiQ3YEw8UAqm1lFWk0QIDAQAB',
                //支付宝应用私钥
                'alipay_app_private_key'=>'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDTsugK4m5nFWmYMKpQAL0ruqxuKu/fsKh6PkCPOrLokzWUlnCSq4FTiy805JVErdf99rVeG2oMJa9sStIROA0/zuL6rkHsqRV2KNgtbXhPeDsaIiauJx6aKg2HAQR6yUHJmQz7XfTbSDTW42V0xHx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PU+3gxBwID+SXpzvUX8O5ALyzQmlVG9GBPaidXmIFaIe9ChhnAKf0j5dlb3QAH0AHuwroi/E3zdzsMj7MmDgLlMXM2vdpjPy8M2nZBEe15OSzC4syK5cPXc4jKwUSlqrm8E9Yi2ZtKS7hYno3OTh98NLuIXZa3wmPU1CTT4tAwKBgHR+NM/h3GGO5HtW6SFkxSblYUP+5pUiyG/js2D/ipDhh5G5KNzuiGgElY6swrJpelrVCCbK7guQ4CsGk4vm3ToUAAiSYyHvmGk2OKbi9XVZ3VOg9mbz2SwvTesNCH5SkHT6XvvCjsLodnG6gShq7I8m/JaqNV+tS34le6ej9Qe4',
                //设置证书保存路径 $root_path连接（资金类接口必须）
                'cert_path_alipayCertPublicKey_RSA2'=>'cert/alipay/number_one_net_minipro/alipayCertPublicKey_RSA2.crt',
                'cert_path_alipayRootCert'=>'cert/alipay/number_one_net_minipro/alipayRootCert.crt',
                'appCertPublicKey'=>'cert/alipay/number_one_net_minipro/appCertPublicKey_2021005123654458.crt',
                //编码格式
                'charset' => "UTF-8",
                //支付宝网关
                'gatewayUrl' => "https://openapi.alipay.com/gateway.do",

                //杉德使用 start
                //prikey.txt key1
                //'mer_key'       =>'6ydMRV6jbU3NA5yz0wGcyP9IgEMSoEjA5wDkRyR1O57K4HW7PkJMeteQvfb6RiDcuXKf6e+2PRg=',
                //'md5key'        =>'XTXjsHjkPDWFJYE3g0CXug++xQtPkDnuVzG2w2TTyde18gtwzfqH963Spx7m/2rOoJ98CB11uWkpeYC0+QL0OUMFNMoW2KryaH71gXpXufOgVfVEP23e1GuCozBbhuoRFLvYZktTk7Nixuz+UKFTiw==',
                //杉德使用 end
            ],
            //地一网络科技小程序 end
        ],
        //转账到支付宝,资金功能用这个(支付宝转账到支付宝，不是上面网站支付配置的小白菜商城配置！！！)
        'alipay_transfer'=>[
            //小白菜商城 start
            'origin_fruits'=>[
                'app_id'     =>'2021003110634741',//资金功能用这个
                //支付宝应用公钥
                'alipay_app_public_key'=>'s/I9i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shDLDUGsi2RtEU+4wYQW4pnoykSLrghI5rpS6vDTuELhUuTBrkR1h/mNYRYxP8UACK5i+UJhHSU5IQNKD/gCFJwEU7kz3o4Nv48UZSViRY6iPf2ekim1ZAaXWImLYAZ6PyqIFAd/CRLsAyEs0+u2SB+XKwKBgQCjxJ643WcPkIC1Gwc4aDTOvbXML/vQ0mJcuELIVgfQve5GiymjB9SGzuwtfZJGohBR42y857bG5iR8RQGc3aRAK10xSM6+v6VE/sQuEp1ettWeen82zJRxvJlHEPIishOUMPbn3dxJm8lj0KOP/8yYymA9rbyX2Gmnf6GcEKXfcQKBgC96DcLNpnC4nQRm+XtYXPPmErYZOTBEeLCk9/jbXZHCfFc7a/VNV5Upqx/olWez0yoa5I3eEph3i60YVfLs/oN+wUHVcTh5UDAqpNtqW4WIa+LVRLyFDPSGszhs00EzWOo+UwGb0vHbSmYc5zZDnzR4LzlbAZY8GRfck1zohdGjAoGBAJq6yrwfc6BhBzoVr1y8GCi9VWb2bxV9sTGpZm+h2QCAcwBzu4Mtgr9cAgl4+xuBQ6obFkHlK+wAxbgj+sIbJ3T5g7Ns9umCaMQncXOWYtl6JZr2YfuEjzxm1OswN5ZQae851A5+sANcDYshNWh4ZvZ1PzkHTYiqECkRjb/GevIBAoGBAIG2Z2esHxxHUYpImLAHaAZV4Zdht/kqFsjfyPL55mudkHsa058WR9W8J1VluVM1UbYAuIqSjb4fPU36SiedyshZf+1U8H9cdCJijX2pP820rOI+H19uO4SgQjq7QaAHIHl/goelH2VUsgyZjIQzwMemV/G/KUrPiHRP+dLFcZ7Q',
                //设置证书保存路径 $root_path连接（资金类接口必须）
                'cert_path_alipayCertPublicKey_RSA2'=>'cert/alipay/lingxie/alipayCertPublicKey_RSA2.crt',
                'cert_path_alipayRootCert'=>'cert/alipay/lingxie/alipayRootCert.crt',
                'appCertPublicKey'=>'cert/alipay/lingxie/appCertPublicKey_2021003110634741.crt',
                //编码格式
                'charset' => "UTF-8",
            ],
            //小白菜商城 end

            //地一网络科技 start (商城支付宝转账到支付宝)
            'number_one_net'=>[
                'app_id'     =>'2021005117648526',//资金功能用这个
                //支付宝应用公钥
                'alipay_app_public_key'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApuLIWz9D5mBYX6vdqrXpPaF7tI0Zubsl97BwX1FcGqfppdbP1KFwX94oJtLkaL77FTmRsSxt1J5o9Hl4mR6tXkOX4m7XepqADfUbV4y332azHRyEJ46akjn9IAkQ+nd/ZDoOOAkBfANl7N/Znkv3icmFXdM+pJYDMSGkPB2fLdJML712+8p9qrBNnQp31Do0OxZV93uIXQOTOzkAIQu0w6t6aE6Xsv3uYGyRNPOA5WbUAn4SQ6zpEiwGi1uDB53ZX7eXCwKeO3qZ4XYqO4myXbgWo3lTHrtmxOLTK/6TwpD0KVWR7yGcjJWjVRW+HZ7cWru9aBGhqwOoaONVjqMsrwIDAQAB',
                //支付宝应用私钥
                'alipay_app_private_key'=>'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCm4shbP0PmYFhfq92qtek9oXu0jRm5uyX3sHBfUVwap+ml1s/UoXBf3igm0uRovvsVOZGxLG3Unmj0eXiZHq1eQ5fibtd6moAN9RtXjLffZrMdHIQnjpqSOf0gCRD6d39kOg44CQF8A2Xs39meS/eJyYVd0z6klgMxIaQ8HZ8t0kwvvXb7yn2qsE2dCnfUOjQ7FlX3e4hdA5M7OQAhC7TDq3poTpey/e5gbJE084DlZtQCfhJDrOkSLAaLW4MHndlft5cLAp47epnhdio7ibJduBajeVMeu2bE4tMr/pPCkPQpVZHvIZyMlaNVFb4dntxau71oEaGrA6ho41WOoyyvAgMBAAECggEAXFqsXjLItLkkru1BorNA/GZdOzHKxsoW3Ne7mERCIE5EMw6JvTYKJkOfHL0gwgbOlJRjWBUqQrvXgVOntbUQZFYru5dzj9noe9Dk7LJnHy6KeNXLHMkCKWIF/rCFwNZYnXKzY7c4JxUKVugaWkvYFVx8fcvloteRtKLVbJ9H8+bDmT+psxmT4AP/mRm7K5q2GpiC0fl7t1n7NTRlZX5/9T+S4vgAuPb4pA+D/svVEBf/m0++/s0ViqzTAuuq9jDsyYkh/0UMcyBicrfhd9yTWrYfTyrT9k3vyFj8hhCkNKzh6UAMsbB352e2rU0n9AXzhdKwuzDl6UDvWjxiX+B1AQKBgQDixPZXZM+mU5L34D6ov0ILiqXELgTGcYqc95aWvoatAINKG2R2I++LEEd9hAhj/4LFCXynFY3tAD24OYAxq/74MkX3PKOokqxrhmvcXy/gbQs+UFXTjGLA44K6oLTSNGzWGb3yCLTSk+c2p0RqFAuI6+zw3r3s5sQHxThw0ayzzwKBgQC8ZcHhFn2oYB9JKl0oLgcyHDg7bddyqQ21z6ag4UrNEKnPqjVZbXWoUw1GaWb6QU5OXQtIzRRPRzE1j2NzOdM0c4H5pQrvup2Ft//MuBVp/JRhQHXy0N8rYlDX3blSYz7dgJmkzPMPUM2b0rFbtXPDYh1xC05VdfaNjw7zjyzRIQKBgGm1UvgOQFXSY5I08ECNV2Y17Wvz37n5t5nQOFxw2CrRMGJdPolr2wBCSHEUGS00MGtVLsxcWdp+4EZ+V2nQOXzNQpwroka0iLde4+zIWnMNoc4ceMWyjV5JL+l7fI74bTuoqEipElGPLJrnghbI3U+oWr01t+c083CD2PmOZCk1AoGAZYcZAqpSMYkLkyxnY53aduDKVQyOzNXZ857iF1USMIzIVodNlNHuVDXds5Jd0oObJZPy3trWFRsyo8CQQapp7ZxJ8TVGPYb+GO/dxH932tQpSneomKCDhCfJlWuB0ap2WHxTUIK6gghzpYPX3Kpepm6bmy4Smu+lXQg5cHw6FMECgYEAlyngfGR32qHnQj3dYsjxmp766Iaw6ZmAJujcdk9iswGQbRYWyco46jjzJX4cQCUu04wkCZg0DwNUZzjMxYag5N1bDQkQudyJsKtxt4QMlDYC3yiHtNM9rDoKkotNxHWm418nFZhCOmVV9YXbctHJmbD2VUwlkL/HnnJqaFlVZ34=',
                //设置证书保存路径 $root_path连接（资金类接口必须）
                'cert_path_alipayCertPublicKey_RSA2'=>'cert/alipay/number_one_net/alipayCertPublicKey_RSA2.crt',
                'cert_path_alipayRootCert'=>'cert/alipay/number_one_net/alipayRootCert.crt',
                'appCertPublicKey'=>'cert/alipay/number_one_net/appCertPublicKey_2021005117648526.crt',
                //编码格式
                'charset' => "UTF-8",
            ],
            //地一网络科技 end
        ],
        'wechat' => [

            //小白菜商城
            'origin_fruits'=>[
                //小白菜商城传媒公众号 start
                'app_secret'    =>'6b05e88e38281fc740712c51fb7e6c48',
                'app_id'        => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                'appid'         => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                //'sub_appid'    => 'wxxxxxxxx',  // 公众子商户账号ID

                //小白菜商城传媒公众号 end


                'mch_id'        => '1625145121', // 商户id
                //'mch_key'       =>'',
                //key设置路径：微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置 api v2密钥,有v3就不用v2
                'api_key'       =>  '98d469fbcd3a34e92842f33b7f5a7e9f',
                //精确到目录，不是精确到文件名
                'access_token_path'=>'runtime/access_token',//相对目录，最后和ROO_PATH连接
                'js_api_ticket_path'=>'runtime/access_token',
                //https://pay.weixin.qq.com/index.php/core/cert/api_cert#/api-password-v3
                'v3_api_md5'=>'e4054f1a9eace11c8592810ef3687088',//微信支付v3密钥 v3 api接口密钥
                //'sub_mch_id'   => '123123123', // 子商户id
                //'md5_key'      => '23423423dsaddasdas', // md5 秘钥
                //'app_cert_pem' => 'apiclient_cert.pem',
                //'app_key_pem'  => 'apiclient_key.pem',
                //'sign_type'    => 'MD5', // MD5  HMAC-SHA256
                //'limit_pay'    => [
                //    //'no_credit',
                //], // 指定不能使用信用卡支付   不传入，则均可使用
                //'fee_type' => 'CNY', // 货币类型  当前仅支持该字段
                //'redirect_url' => 'https://dayutalk.cn/', // 如果是h5支付，可以设置该值，返回到指定页面

                // 「商户API证书」的「证书序列号」
                'merchantCertificateSerial' => '726F92D8CDE8DE80584A3E5723C474840B03D09D',
                //商户API私钥证书(在window系统中需要使用证书，则路径前面需要加'file://')
                'merchantPrivateKeyFilePath'=>$root_path.'cert/wechat/origin_fruits/apiclient_key.pem',
                //这个也是商户证书，平台证书要用接口下载(在window系统中需要使用证书，则路径前面需要加'file://')
                'mchCertificateFilePath'=>$root_path.'cert/wechat/origin_fruits/apiclient_cert.pem',
                //微信支付平台ca证书(在window系统中需要使用证书，则路径前面需要加'file://')
                'caCertificateFilePath'=>$root_path.'cert/wechat/origin_fruits/cacert-2023-05-30.pem',


            ],
            //蓝木蓝果时光 start
            'lan_mu_lan_fruits'=>[
                //小白菜商城传媒公众号 start
                'app_secret'    =>'6b05e88e38281fc740712c51fb7e6c48',
                'app_id'        => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                'appid'         => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                //'sub_appid'    => 'wxxxxxxxx',  // 公众子商户账号ID

                //小白菜商城传媒公众号 end


                'mch_id'        => '1668824977', // 商户id
                //'mch_key'       =>'',
                //key设置路径：微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置 api v2密钥,有v3就不用v2
                'api_key'       =>  '30fcb5ad5b02c01bbdf5dc7f941ca0fd',
                //精确到目录，不是精确到文件名
                'access_token_path'=>'runtime/access_token',//相对目录，最后和ROO_PATH连接
                'js_api_ticket_path'=>'runtime/access_token',
                //https://pay.weixin.qq.com/index.php/core/cert/api_cert#/api-password-v3
                'v3_api_md5'=>'35d543f33f30db09b141632fd38e32a9',//微信支付v3密钥 v3 api接口密钥
//composer v3-certificates -k '35d543f33f30db09b141632fd38e32a9' -m '1668824977' -f ./ -s '4A7D24A6A4C4CC4608A16DA829498B6CC37A725E' -o ./cert
                //'sub_mch_id'   => '123123123', // 子商户id
                //'md5_key'      => '23423423dsaddasdas', // md5 秘钥
                //'app_cert_pem' => 'apiclient_cert.pem',
                //'app_key_pem'  => 'apiclient_key.pem',
                //'sign_type'    => 'MD5', // MD5  HMAC-SHA256
                //'limit_pay'    => [
                //    //'no_credit',
                //], // 指定不能使用信用卡支付   不传入，则均可使用
                //'fee_type' => 'CNY', // 货币类型  当前仅支持该字段
                //'redirect_url' => 'https://dayutalk.cn/', // 如果是h5支付，可以设置该值，返回到指定页面

                // 「商户API证书」的「证书序列号」- 证书生成之后在证书列表中查看序列号
                'merchantCertificateSerial' => '4A7D24A6A4C4CC4608A16DA829498B6CC37A725E',
                //商户API私钥证书(在window系统中需要使用证书，则路径前面需要加'file://')
                'merchantPrivateKeyFilePath'=>$root_path.'cert/wechat/lan_mu_lan_fruits/apiclient_key.pem',
                //这个也是商户证书，平台证书要用接口下载(在window系统中需要使用证书，则路径前面需要加'file://')
                'mchCertificateFilePath'=>$root_path.'cert/wechat/lan_mu_lan_fruits/apiclient_cert.pem',
                //微信支付平台ca证书(在window系统中需要使用证书，则路径前面需要加'file://')（2024年2月26日生成的证书没有此文件）
                //'caCertificateFilePath'=>$root_path.'cert/wechat/lan_mu_lan_fruits/cacert-2023-05-30.pem',


            ],
            //蓝木蓝果时光 end

            //地一网络科技【特约商户-不支持分账】 start
            'number_one_net'=>[
                //小白菜商城传媒公众号 start
                'app_secret'    =>'6b05e88e38281fc740712c51fb7e6c48',
                'app_id'        => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                'appid'         => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                //'sub_appid'    => 'wxxxxxxxx',  // 公众子商户账号ID

                //小白菜商城传媒公众号 end


                'mch_id'        => '1655846629', // 商户id
                //'mch_key'       =>'',
                //key设置路径：微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置 api v2密钥,有v3就不用v2
                'api_key'       =>  '480c6af522e9e08352c17ee9e7343e46',
                //精确到目录，不是精确到文件名
                'access_token_path'=>'runtime/access_token',//相对目录，最后和ROO_PATH连接
                'js_api_ticket_path'=>'runtime/access_token',
                //https://pay.weixin.qq.com/index.php/core/cert/api_cert#/api-password-v3
                //微信支付v3密钥 v3 api接口密钥
                'v3_api_md5'=>'00a2f3b5f071bb045354cb64b41a4ff2',

                //v2 「商户API证书」的「证书序列号」- 证书生成之后在证书列表中查看序列号
                'merchantCertificateSerial' => '77A9B8733EEAA936439AAD27B2B10A7DDB9549A0',
                //商户证书私钥，API私钥文件(在window系统中需要使用证书，则路径前面需要加'file://')
                'merchantPrivateKeyFilePath'=>$root_path.'cert/wechat/number_one_net/apiclient_key.pem',
                //这个是商户证书，平台证书要用接口下载(在window系统中需要使用证书，则路径前面需要加'file://')
                'mchCertificateFilePath'=>$root_path.'cert/wechat/number_one_net/apiclient_cert.pem',

                //平台证书序列号
                'wxPlatformCertificateSerial'=>'1CAFF0BF2AAB30920D8C801FEF32B8E3A0CC37AD',


            ],
            //地一网络科技【特约商户-不支持分账】 end

            //地一网络科技【普通商户-支持分账】 start
            'first_net_tech'=>[
                //小白菜商城传媒公众号 start
                'app_secret'    =>'6b05e88e38281fc740712c51fb7e6c48',
                'app_id'        => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                'appid'         => 'wx5904518b3a0b2965',  // 公众账号ID（必须存在，不能删除）
                //'sub_appid'    => 'wxxxxxxxx',  // 公众子商户账号ID

                //小白菜商城传媒公众号 end


                'mch_id'        => '1711020737', // 商户id
                //'mch_key'       =>'',
                //key设置路径：微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置 api v2密钥,有v3就不用v2
                'api_key'       =>  '1839d46456729722afccff1252b599b0',
                //精确到目录，不是精确到文件名
                'access_token_path'=>'runtime/access_token',//相对目录，最后和ROO_PATH连接
                'js_api_ticket_path'=>'runtime/access_token',
                //https://pay.weixin.qq.com/index.php/core/cert/api_cert#/api-password-v3
                //微信支付v3密钥 v3 api接口密钥
                'v3_api_md5'=>'064f99610d292b54b7a04cac4821592a',

                //v2 「商户API证书」的「证书序列号」- 证书生成之后在证书列表中查看序列号
                'merchantCertificateSerial' => '17B63463B37E8BA105EF3D7FB92C91003D8CADCB',
                //证书密钥，商户API私钥证书(在window系统中需要使用证书，则路径前面需要加'file://')
                'merchantPrivateKeyFilePath'=>$root_path.'cert/wechat/first_net_tech/apiclient_key.pem',
                //这个是商户证书，平台证书要用接口下载(在window系统中需要使用证书，则路径前面需要加'file://')
                'mchCertificateFilePath'=>$root_path.'cert/wechat/first_net_tech/apiclient_cert.pem',


                //平台证书序列号，平台证书要用接口下载
                'wxPlatformCertificateSerial'=>'11EA9ED4F0BECF286F190F656BAE01FD5B5654A1',
            ],
            //地一网络科技【普通商户-支持分账】 end
        ],
    ],
    //业务基础架构配置
    'service_framework_config'=>[
        //内网访问架构中放行的端口
        'inner_allow_ports'=>[8080],
        //错误重定向URL
        'auth_err_redirect_url'=>'/index/err/checkfailed',
        'sign_token'=>'ASbn56&1^%_qsdcvb',
        //业务架构调试模式 false 关闭， true开启
        'debug'=>false,
    ],
    //抖音应用配置
    'douyin_config_mini_game'=>[
        'appid'=>'tte7c6917b78f05c0c02',
        'secret'=>'c68998a9f37774258aa071556088f55e4bd6956f',
    ],
    //米宝供应配置
    'meebo_supply_config'=>[
        'appkey'=>'7571564',
        'appsecret'=>'l0jGnWkd8i4',
        //自研应用永久token
        'accessToken'=>'7b39e85a-08ba-49bb-afbb-80acc340b247',
        //图片路径前缀
        'image_url_prefix'=>'https://cbu01.alicdn.com/',
    ],
    //讯飞星火 Spark4.0 Ultra
    'i_flytek_spark_config'=>[
        //general指向Lite版本；
        //generalv2指向V2.0版本；
        //generalv3指向Pro版本；
        //generalv3.5指向Max版本；
        //4.0Ultra指向4.0 Ultra版本；
        'Spark4_0_Ultra'=>[
            'base_url'=>'https://spark-api-open.xf-yun.com/v1/chat/completions',
            'APPID'=>'7aa2d915',//AI智能编码应用
            'APISecret'=>'MjdhYjgzMTQxOWQwNTlkMDg3Nzg1MWRk',
            'APIKey'=>'117d1f007679e83ce4dd64b70d33dcc9',
            'model'=>'4.0Ultra',
        ],
        'Spark_Lite'=>[
            'base_url'=>'https://spark-api-open.xf-yun.com/v1/chat/completions',
            'APPID'=>'d482af59',//AI智能编码应用
            'APISecret'=>'Yjg0YTAyNmE5OGUwNDE3YjU4NWE4NmZh',
            'APIKey'=>'f2ae6e128932935d6e154311539bba65',
            'model'=>'general',
        ]

    ],
    //阿里云百炼（如果访问失败，可能是模型参数错误）
    'ali_cloud_bai_lian'=>[
        'qwen-vl'=>[
            //您可以通过OpenAI SDK或OpenAI兼容的HTTP方式调用通义千问模型，体验流式输出的功能。
            'base_url'=>'https://dashscope.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation',//
            //'APPID'=>'d482af59',//AI智能编码应用
            //'APISecret'=>'Yjg0YTAyNmE5OGUwNDE3YjU4NWE4NmZh',
            //API-KEY的权限范围说明 https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key?spm=a2c4g.11186623.0.0.38585941b5fdpR
            'APIKey'=>'sk-052225e32e4a489e80f9b4a70c9fdb1c',
            //qwen-vl-v1 以 Qwen-7B 语言模型初始化，添加图像模型，图像输入分辨率为448的预训练模型。
            //qwen-vl-chat-v1 通义千问VL支持灵活的交互方式，包括多图、多轮问答、创作等能力的模型。
            'model'=>'qwen-vl-v1',
            'model2'=>'qwen-vl-chat-v1',
        ],
        'qwen-vl-plus'=>[
            //您可以通过OpenAI SDK或OpenAI兼容的HTTP方式调用通义千问模型，体验流式输出的功能。
            'base_url'=>'https://dashscope.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation',//
            //'APPID'=>'d482af59',//AI智能编码应用
            //'APISecret'=>'Yjg0YTAyNmE5OGUwNDE3YjU4NWE4NmZh',
            //API-KEY的权限范围说明 https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key?spm=a2c4g.11186623.0.0.38585941b5fdpR
            'APIKey'=>'sk-052225e32e4a489e80f9b4a70c9fdb1c',
            //qwen-vl-v1 以 Qwen-7B 语言模型初始化，添加图像模型，图像输入分辨率为448的预训练模型。
            //qwen-vl-chat-v1 通义千问VL支持灵活的交互方式，包括多图、多轮问答、创作等能力的模型。
            'model'=>'qwen-vl-v1',
            'model2'=>'qwen-vl-plus',
        ],
        'qwen-turbo'=>[
            //POST https://help.aliyun.com/zh/model-studio/developer-reference/quick-start?spm=a2c4g.11186623.0.0.420a5901sYGJKU
            //'base_url'=>'https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation',

            //您可以通过OpenAI SDK或OpenAI兼容的HTTP方式调用通义千问模型，体验流式输出的功能。
            'base_url'=>'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions',//
            //'APPID'=>'d482af59',//AI智能编码应用
            //'APISecret'=>'Yjg0YTAyNmE5OGUwNDE3YjU4NWE4NmZh',
            //API-KEY的权限范围说明 https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key?spm=a2c4g.11186623.0.0.38585941b5fdpR
            'APIKey'=>'sk-052225e32e4a489e80f9b4a70c9fdb1c',
            'model'=>'qwen-turbo',
        ],

    ],
    //万码云开发平台 https://wcode.net/deepseek-llm-api
    'wan_ma_cloud'=>[
        'base_url'=>'https://wcode.net/api/gpt/v1/chat/completions',
        'APIKey'=>'sk-285.dD5o9Z6pOziVtUp32FTzArag5ZgeLqoyfPHoKG0qGoEgho3P',
    ],
    //智谱 AI https://bigmodel.cn/dev/api/http-call/http-auth
    'wisdom_spectrum_ai'=>[
        'base_url'=>'https://open.bigmodel.cn/api/paas/v4/videos/generations',
        'APIKey'=>'468231f765b247209f45f42ff27f9ff2.bSGVbgVP0TvYnjOD',
    ],
    //阶跃星辰
    'step_fun_ai_config'=>[
        //语音合成
        'audio'=>[
            'base_url'=>'https://api.stepfun.com/v1/audio/speech',
            'APIKey'=>'KJS9PN05iwG9peJpPHW2y8uBHDLTEu6B6e1xIsA4QSxhVEn2DV7kMQeoWD4H2ecA',
        ],
        //智能对话
        'chat'=>[
            'APIKey'=>'KJS9PN05iwG9peJpPHW2y8uBHDLTEu6B6e1xIsA4QSxhVEn2DV7kMQeoWD4H2ecA',
            'base_url'=>'https://api.stepfun.com/v1/chat/completions',
            'model'=>'step-2-mini',
        ]
    ],
    //https://api-docs.deepseek.com/zh-cn/api/deepseek-api
    'deepseek'=>[
        //智能对话
        'chat'=>[
            'APIKey'=>'sk-f042349b5de44d02be61172b406632ce',
            'base_url'=>'https://api.deepseek.com/chat/completions',
            'model'=>'deepseek-chat',
        ],
        //推理(备注：生成代码不太理想，推荐阶跃星辰)
        'chat_r1'=>[
            'APIKey'=>'sk-f042349b5de44d02be61172b406632ce',
            'base_url'=>'https://api.deepseek.com/chat/completions',
            'model'=>'deepseek-reasoner',
        ]
    ],
    //当前系统环境类型
    'sys_env'=>$sys_env,
    //当前系统框架版本号
    'framework_version'=>'5.1',
    //系统日志驱动
    'sys_log_type'=>'file',//file mysql email
    //平台订单提成比例必须(分省钱宝、赚钱宝，比例不一样)
    //'platform_order_push_money_ratio'=>[
    //    //普通用户
    //    0=>0,
    //    1=>0.01,//省钱宝1%
    //    2=>0.02,//赚钱宝2%
    //],
    //'group_buy_config'=>[
    //    //当收益大于订单付款金额的80%，则视为异常，则本次不提成
    //    //也就是说，一个付款订单，基本提成＋其它浮动奖励，最多不超过超过该订单的multiple倍，
    //    //否则视为风险，不提成
    //    'multiple'=>0.8,//风险收益倍数控制
    //]
];
